/**
 * Created by xiaolinzhang on 2017/7/29.
 */

var commDao = require("../dao/CommDao");

exports.getCommInfo = function (userId,callbk){
    commDao.getCommInfo(userId,callbk);
}

exports.getCommSum = function (userId,callbk){
    commDao.getCommSum(userId,callbk);
}

exports.getCommSumByState = function (userId,callbk){
    commDao.getCommSumByState(userId,callbk);
}

exports.getCommDetail = function (userId,sign,callbk){
    commDao.getCommDetail(userId,sign,callbk);
}

exports.getDeposList = function (userId,callbk){
    commDao.getDeposList(userId,callbk);
}

exports.getComm = function (userId,callbk){
    commDao.getComm(userId,callbk);
}

exports.insDeposInfo = function (userId,commTotal,state,commIds,payMethod,phone,callbk) {
    commDao.insDeposInfo(userId,commTotal,state,commIds,payMethod,phone,callbk);
}

exports.updCommState = function (commIds,callbk){
    commDao.updCommState(commIds,callbk);
}